package com.edu.hre.struts.form.survey;

import java.util.ArrayList;
import java.util.List;

import org.apache.struts.action.ActionForm;
import org.apache.struts.util.LabelValueBean;

import com.edu.hre.common.entity.HrePageInfo;
import com.edu.hre.db.pojo.HreEmployee;
import com.edu.hre.db.pojo.HreSurveyTopic;
import com.edu.hre.struts.form.admin.JobTitleForm;

public class SurveyManagementListForm extends ActionForm {

	/**
	 * 
	 */
	private static final long serialVersionUID = 7579569988381254221L;
	
	private List<LabelValueBean> listUserModified = new ArrayList<LabelValueBean>();
	private String selectedUser = "all";
	List<LabelValueBean> listSubunit = new ArrayList<LabelValueBean>();
	private String selectedSubunit = null;
	
	private List<SurveyManagementUpdateForm> listObjs = new ArrayList<SurveyManagementUpdateForm>();
	private List<HrePageInfo> listPages = new ArrayList<HrePageInfo>();
	private boolean canAdd = false;
    private boolean canDelete = false;
    private boolean isAsc = true;
    private int totalItems = 0;
	private int totalPage = 0;
	
	
	public SurveyManagementListForm() {
		// TODO Auto-generated constructor stub
	} 
	
	public List<LabelValueBean> getListUserModified() {
		return listUserModified;
	}

	public void setListUserModified(List<LabelValueBean> listUserModified) {
		this.listUserModified = listUserModified;
	}

	public List<LabelValueBean> getListSubunit() {
		return listSubunit;
	}

	public void setListSubunit(List<LabelValueBean> listSubunit) {
		this.listSubunit = listSubunit;
	}

	public List<SurveyManagementUpdateForm> getListObjs() {
		return listObjs;
	} 

	public void setListObjs(List<SurveyManagementUpdateForm> listObjs) {
		this.listObjs = listObjs;
	} 

	public List<HrePageInfo> getListPages() {
		return listPages;
	}

	public void setListPages(List<HrePageInfo> listPages) {
		this.listPages = listPages;
	}

	public boolean isCanAdd() {
		return canAdd;
	}

	public void setCanAdd(boolean canAdd) {
		this.canAdd = canAdd;
	}

	public boolean isCanDelete() {
		return canDelete;
	}

	public void setCanDelete(boolean canDelete) {
		this.canDelete = canDelete;
	}

	public boolean isAsc() {
		return isAsc;
	}

	public void setAsc(boolean isAsc) {
		this.isAsc = isAsc;
	}

	public int getTotalItems() {
		return totalItems;
	}

	public void setTotalItems(int totalItems) {
		this.totalItems = totalItems;
	}

	public int getTotalPage() {
		return totalPage;
	}

	public void setTotalPage(int totalPage) {
		this.totalPage = totalPage;
	}

	public String getSelectedSubunit() {
		return selectedSubunit;
	}

	public void setSelectedSubunit(String selectedSubunit) {
		this.selectedSubunit = selectedSubunit;
	}

	public String getSelectedUser() {
		return selectedUser;
	}

	public void setSelectedUser(String selectedUser) {
		this.selectedUser = selectedUser;
	}  
	
}
